#pragma once

namespace space {

template<class T> class singleton {
public:
	static T *instance() {
		static T obj;
		
		return &obj;
	}
};


}